package finman.database;

public class User {
	private String name;
	private String password;
	private Permission permission;
	public enum Permission {unknown, readonly, safe, full};
	
	public User(String userName, String userPassword, Permission userPermission) {
		name = userName;
		password = userPassword;
		permission = userPermission;
	}
	
	public User(String userName, String userPassword) {
		name = userName;
		password = userPassword;
		permission = Permission.unknown;	
	}
	
	//-------------------------------------------------------------------
	public String getName() { return name; }
	public String getPassword() { return password; }
}